using System;
using System.Drawing;

using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace Socialite
{
	public partial class PromoterCell : UITableViewCell
	{
		public PromoterCell() : base()
		{
		}
		
		public PromoterCell(IntPtr handle) : base(handle)
		{
		}
		
		/// <summary>
		/// Binds the data to cell.
		/// </summary>
		/// <param name='place'>
		/// Place.
		/// </param>
		public void BindDataToCell (Promoter promoter)
		{
			NameLabel.Text = promoter.BasicInfo.FirstName;
			CompanyLabel.Text = promoter.Company;
			MainImage.Image = new UIImage (promoter.ProfilePhotoPath);
		}
	}
}